<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<body>
<h2>Hello World!!!!  home.jsp-===</h2>

<div>
	<%-- <ol class="spittle-list">
		<c:forEach items="${spitters}" var="spittle">
 			<s:url value="/spitters/{spitterName}" var="spitter_url"></s:url>
			<s:param name="spitterName" value="${spittle.spittler.username}"></s:param>

		</c:forEach>
	
	    </ol> --%>
<%-- 	<sf:form id="form1" method="POST" action="userLogin"> --%>
     <form id="form1" action="userLogin" method="post">
		<table border="1" style="width:300px;">
			<c:forEach var="person" items="${persons}">
				<tr>
					<td>
						<c:out value="${person.id}" /> 
					</td>
					<td>
						<c:out value="${person.name}" /> 
					</td>
					<td>
						<c:out value="${person.age}" /> 
					</td>
					<td>
						<c:out value="${person.sex}" /> 
					</td>
					<td>
						<c:out value="${person.city}" /> 
					</td>
				</tr>
			</c:forEach>
			<c:out value="${name}" />
		</table>
		<fmt:formatDate value="${today}"/>
		<%-- <sf:input id="name" type="text" value="6666" /> --%>
		<input name="loginName" type="text" value="" />
		<input name="btn" type="button" value="User Login999"  onclick="form1.submit();"/>
		<!-- <input type="submit" /> -->
	</form>
</div>
</body>
</html>
